package com.group02.community.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.group02.community.entity.log.SysLogininfor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 系统访问记录 Mapper 接口
 * </p>
 *
 * @author xl
 * @since 2022-07-01
 */
@Mapper
public interface SysLogininforMapper extends BaseMapper<SysLogininfor> {

    IPage<SysLogininfor> loginLogPage(Page<SysLogininfor> sysLogininforPage, @Param("sysLogininfor") SysLogininfor sysLogininfor);

    void insertLogininfor(SysLogininfor logininfor);

    void emptyDatabase();

    void loginLogDelete(Long[] id);
}
